package model;

import java.awt.Point;

public abstract class ModelPosition {
	protected ModelConstraint constraint;
	protected Point point;
	protected ModelPawn pawn;
	
	public abstract boolean canPutPawn();	
	
	public void setPoint(Point point) 
	{
		this.point = point;
	}
	
	public Point getPoint() {
		return point;
	}
	public void setConstraint(ModelConstraint constraint) {
		this.constraint = constraint;
	}
	public ModelConstraint getConstraint() {
		return  constraint;
	}

	public void setPawn(ModelPawn pawn) {
		this.pawn = pawn;
	}

	public ModelPawn getPawn() {
		return pawn;
	}

}
